/*
 * @Author:  dongdong.wu
 * @Date: 2021-03-15 13:55:39
 * @Description: 表格组件需要的checkbox模式
 */
const renderColumnCheckBox = function(h) {
  if (this.selection) {
    return h("el-table-column", {
      props: {
        type: "selection",
        selectable: this.selectable,
        reserveSelection: this.reserveSelection,
        headerAlign: "center",
        fixed: "left",
        align: "center",
        width: "55"
      }
    });
  }
};
export default renderColumnCheckBox;
